package Animal;
//Cat.java
public class Cat extends Animal {
    public Cat(String name) {
        super(name);
    }
    @Override
    void eat(){
        System.out.println(name + "吃猫粮");
    }
    //Cat类 特有的方法
    void mew(){
        System.out.println(name + "喵喵");
    }
}
